package ren.kane.phoenix.some.thread;

/**
 * @author renrk(1275) on 2018-11-01 7:53 PM
 **/
public class DisplayMessage implements Runnable {

    private String message;

    public DisplayMessage(String message) {
        this.message = message;
    }

    @Override
    public void run() {
        while (true) {
            System.out.println(message);
        }
    }
}
